package com.hh.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 页面控制器
 */
@Controller
public class PageController {
    @RequestMapping("/foodCity")
    public String index() {
        return "index";
    }

    @RequestMapping("/shoppingCart")
    public String shoppingCart() {
        return "shoppingCart";
    }

    @RequestMapping("/info")
    public String info() {
        return "info";
    }

    @RequestMapping("/upload")
    public String upload(){
        return "file";
    }
}
